package summer_vacation.xuqianlan;

/**
 * Created by lenovo on 2015/9/6.
 */
public class Test_34 {
    public static void main(String[] args) {
        int a=0,b=0,n=0;
        for(int c=0;c<=200;c++)
        for(a=0;a<=200;a++)
        for(b=0;b<=200;b++){
            if(c*c==a*a+b*b){
                System.out.println(+c);
                n++;
            }
        }n=(n-1)/2+1;
        System.out.println(+n);
    }
}
